import IRequestPageForm from '@/model/form/request/IRequestPageForm'
import IResVO from '@/model/vo/common/IResVO'
import IRequestRankingVO from '@/model/vo/request/IRequestRankingVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分析所有请求
export default function requestAnalyzeAllAPi(form: IRequestPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IRequestRankingVO>>,
    IRequestPageForm
  >('/request/analyzeAll', form)
}
